﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using Skipper_Connector.ActivateMethod;

namespace Skipper_Connector
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            //Application.Run(new Form1());

            if (Licence.Check())
            {
                Application.Run(new Form1());
            }
            else
            {
                MessageBox.Show("程序未被激活，请联系相关厂家。");

                Application.Exit();
            }
        }
    }
}
